package com.ruoyi.doctor.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.SysDept;
import com.ruoyi.system.domain.SysRegister;

import java.sql.Date;


public class DoctorPatient extends BaseEntity {

    private int patientId; //患者id
    @Excel(name = "患者姓名")
    private String patientName; //患者姓名
    private String patientCard; //患者身份证
    private String patientSex; //患者性别
    private int patientAge; //患者年龄
    private String patientPhone; //患者手机号
    private Date patientBirth; //患者生日
    private String deptName; //科室名称
    private String doctorName; //医生名称
    private String ccm; //主诉
    private String msg;//诊断信息
    private String advice;//医生建议
    @Excel(name = "挂号类型", readConverterExp = "5=门诊,6=门诊+病历本,7=急诊,8=住院")
    private int regisId; //患者挂号费表的id
    private int deptId;//科室id外键
    @Excel(name = "状态", readConverterExp = "1=等待就诊,2=就诊完成,3=正在就诊,4=未就诊")
    private String patientStatus; //支付状态
    @Excel(name = "就诊日期", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String patientTime; //挂号时间
    @Excel(name = "挂号时段", readConverterExp = "白天")
    private String regisTime; //挂号时间段
    private int patientCase; //病例表id
    private String patientAddress; //患者地址信息
    private String patientHistory; //患者过敏史
    @Excel(name = "流水编号")
    private int patientNum; //流水号
    private String regisTracking; //挂号单号

    private SysDept dept; //科室
    private SysRegister regis; //一个用户只有一个挂号费
    private DoctorPeople xlPeople; //挂号流水表(中有医生)

    public String getRegisTracking() {
        return regisTracking;
    }

    public void setRegisTracking(String regisTracking) {
        this.regisTracking = regisTracking;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public int getPatientId() {
        return patientId;
    }

    public void setPatientId(int patientId) {
        this.patientId = patientId;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getPatientCard() {
        return patientCard;
    }

    public void setPatientCard(String patientCard) {
        this.patientCard = patientCard;
    }

    public String getPatientSex() {
        return patientSex;
    }

    public void setPatientSex(String patientSex) {
        this.patientSex = patientSex;
    }

    public int getPatientAge() {
        return patientAge;
    }

    public void setPatientAge(int patientAge) {
        this.patientAge = patientAge;
    }

    public String getPatientPhone() {
        return patientPhone;
    }

    public void setPatientPhone(String patientPhone) {
        this.patientPhone = patientPhone;
    }

    public Date getPatientBirth() {
        return patientBirth;
    }

    public void setPatientBirth(Date patientBirth) {
        this.patientBirth = patientBirth;
    }

    public int getRegisId() {
        return regisId;
    }

    public void setRegisId(int regisId) {
        this.regisId = regisId;
    }

    public String getPatientStatus() {
        return patientStatus;
    }

    public void setPatientStatus(String patientStatus) {
        this.patientStatus = patientStatus;
    }

    public String getPatientTime() {
        return patientTime;
    }

    public void setPatientTime(String patientTime) {
        this.patientTime = patientTime;
    }

    public String getRegisTime() {
        return regisTime;
    }

    public void setRegisTime(String regisTime) {
        this.regisTime = regisTime;
    }

    public int getPatientCase() {
        return patientCase;
    }

    public void setPatientCase(int patientCase) {
        this.patientCase = patientCase;
    }

    public String getPatientAddress() {
        return patientAddress;
    }

    public void setPatientAddress(String patientAddress) {
        this.patientAddress = patientAddress;
    }

    public String getPatientHistory() {
        return patientHistory;
    }

    public void setPatientHistory(String patientHistory) {
        this.patientHistory = patientHistory;
    }

    public int getPatientNum() {
        return patientNum;
    }

    public void setPatientNum(int patientNum) {
        this.patientNum = patientNum;
    }

    public SysDept getDept() {
        return dept;
    }

    public void setDept(SysDept dept) {
        this.dept = dept;
    }

    public SysRegister getRegis() {
        return regis;
    }

    public DoctorPeople getXlPeople() {
        return xlPeople;
    }

    public void setXlPeople(DoctorPeople xlPeople) {
        this.xlPeople = xlPeople;
    }

    public void setRegis(SysRegister regis) {
        this.regis = regis;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getCcm() {
        return ccm;
    }

    public void setCcm(String ccm) {
        this.ccm = ccm;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getAdvice() {
        return advice;
    }

    public void setAdvice(String advice) {
        this.advice = advice;
    }
}
